<?php
namespace zake\foundation\able;


/**
 * Interface BeeAble
 * @package zake\foundation\able
 */
interface BeeAble
{
    /**
     * session编号
     * @param $sessionId
     * @return mixed
     *
     * @author liu.bin 2020-05-15 15:02
     */
    public function setSessionId($sessionId);
    public function getSessionId();


    /**
     *
     * @param $sessionId
     * @param $sendBuffer
     * @param null $callback
     * @param array $param
     * @return mixed
     *
     * @author liu.bin 2020-05-15 15:07
     */
    public function writeBufferTo($sessionId,$sendBuffer,$callback=null,$param=[]);


}
